package com.rajaev.dtu.tractor.domain.entity;

import com.rajaev.dtu.tractor.infrastructure.base.enums.BatteryOnlineStatus;
import com.rajaev.dtu.tractor.infrastructure.base.enums.BatteryStateEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * @Created with IDEA
 * @author: tianjie
 * @Date:2019/7/3
 * @Time:17:09
 */
@Getter
@Setter
public class BatteryPo {
    private Integer id;

    private String vin;

    private BatteryOnlineStatus onlineStatus;


    private Integer projectTeamId;

    private int cellNum;

    private int temperatureNum;



    private String plateNo;

    private String did;


    private String bz;

    private String createDatetime;

    private Integer customerId;

    private String deleteFlag;

    private BatteryStateEnum state;

    /**
     * 总充电量
     */
    private Float totalCharge;

    /**
     * 总耗电量
     */
    private Float totalDischarge;

    /**
     * 总在线时长
     */
    private Long totalOnlineTime;


    /**
     * 总使用时长
     */
    private Long totalDischargeTime;

    /**
     * 日均耗电量
     */
    private Float dailyAvgDischarge;

    private String allowCharge;
}
